<?php
if (! class_exists ( "stview_1_1" )) {
	class stview_1_1 {
		protected static $_instance = null;
		
		private $_data = array ();
		
		public function __construct() {}
		
		public static function getInstance() {
			if (null === self::$_instance) {
				self::$_instance = new self ();
			}
			
			return self::$_instance;
		}
		
		public function getData() {
			return $this->_data;
		}
		
		public function __set($key, $value) {
			$this->_data [$key] = $value;
		}
		
		public function __get($key) {
			return $this->_data [$key];
		}
	}
}
?>